home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
CICA 1993 April
/
CICA MS Windows - April 1993.iso
/
unzipped
/
programr
/
listings
/
ptv2n5
/
chkmem.pas
< prev
next >
Wrap
Pascal/Delphi Source File
|
1991-03-26
|
263b
|
12 lines
PROGRAM chkmem;
{ Michael A. Covington, 1991 }
{ Reports amount of memory free. }
USES
WinTypes, WinProcs;
VAR
s: String;
BEGIN
Str(GetFreeSpace(0),s);
s := s + ' bytes free'#0;
MessageBox(GetActiveWindow,addr(s[1]),'Memory Check',0)
END.